﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using TrainingReminderSystem.Model;
using Extentions;

namespace TrainingReminderSystem.Bll
{
    /// <summary>
    /// 用户操作日志
    /// </summary>
    public class ExOperateLogAttribute : Attribute
    {
        ///// <summary>
        ///// 用户操作日志
        ///// </summary>
        ///// <param name="enumOperateLogType">用户操作日志类型</param>
        ///// <param name="enumWxType">哪一端</param>
        //public ExOperateLogAttribute(EnumOperateLogType enumOperateLogType, EnumWxType enumWxType = EnumWxType.管理后台)
        //{
        //    this.EnumOperateLogType = EnumOperateLogType;
        //}

        /// <summary>
        /// 用户操作日志
        /// </summary>
        /// <param name="enumOperateLogType">用户操作日志类型</param>
        public ExOperateLogAttribute(EnumOperateLogType enumOperateLogType)
        {
            this.EnumOperateLogType = enumOperateLogType;
        }

        /// <summary>
        /// 用户操作日志类型
        /// </summary>
        public EnumOperateLogType EnumOperateLogType { get; set; }
    }
}
